package com.example.dae;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@EnableScheduling
@SpringBootApplication
public class DaeApplication {

	public static void main(String[] args) {
		SpringApplication.run(DaeApplication.class, args);
    }
    
    @Scheduled(fixedRate = 1000)
    public void run(){
        log.info("lombok lombok");
        System.out.println("tes ttes tsete");
    }

}
